replacing odd number in numpy array